package com.example.utils;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * AliyunOSSPropersion 类的描述信息
 *
 * @author 12427
 * @since 2025/6/6 9:51
 */
@Data//get 和set
//@AllArgsConstructor 生成构造方法
//@NoArgsConstructor //生成无参
@Component //交给容器
@ConfigurationProperties(prefix = "aliyun.oss")//指明配置文件路径
public class AliyunOSSPropersion {

    private String endpoint;
    private String bucketName;
    private String region;
}
